#define DEBUG
#include <cstdio>
#define MAXN 100000
#define MAXM 100000

using namespace std;

class Graph {
public:
  int n, m, ind[MAXN+1], to[MAXM*2+1], id[MAXM*2+1], side[MAXM+1];

  void addSide(int a, int b, int c) {
    side[++side[0]] = c;
    m++;
    to[m] = b;

  }
};

int main() {
#ifdef DEBUG
  freopen("1.in", "r", stdin);
  freopen("1.out", "w", stdout);
#endif

  int n, m;
  scanf("%d %d", &n, &m);
  for (int i=1; i<=m; i++) {

  }

  fclose(stdin);
  fclose(stdout);
  return 0;
}
